home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4968 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.rotterdam.luna.net!news
  2. From: poing@luna.nl (Paul van der Valk)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: RTG/rtg.library question
  5. Date: 7 Mar 1996 18:48:30 GMT
  6. Organization: Luna Internet Services
  7. Message-ID: <1060.6640T1147T2687@luna.nl>
  8. References: <601.6639T1270T97@luna.nl> <DnwA2z.83z@cix.compulink.co.uk>
  9. NNTP-Posting-Host: 08-static-a.rotterdam.luna.net
  10. X-Newsreader: THOR 2.1 (Amiga;TCP/IP beta 5)
  11.  
  12.  
  13. Jolyon Ralph wrote:
  14.  
  15. >> Hopefully someone can help me with the following problem. I have a 
  16. >> planar screen that needs to be copied to an RTG screen. The source 
  17. >> 'screen' is one plane deep and possibly located in fastmem.
  18.  
  19. >With 1 bitplane your data is both planar and chunky at the same time 
  20. >(there's no difference)!
  21.  
  22. Life ain't that simple :) As an example, here is a chunky presentation
  23. of a diagonal line:
  24.  
  25.  1,0,0,0,0,0,0,0
  26.  0,1,0,0,0,0,0,0
  27.  0,0,1,0,0,0,0,0
  28.  0,0,0,1,0,0,0,0
  29.  0,0,0,0,1,0,0,0
  30.  
  31. The same image in planar mode looks like:
  32.  
  33.  0x80
  34.  0x40
  35.  0x20
  36.  0x10
  37.  0x08
  38.  
  39. >Therefore, you shouldn't have a problem.
  40.  
  41. I'm not really having a problem with the planar <-> chunky conversion but
  42. with the adressing of the target screen. I/we really need something like
  43. GimmeBitmap() that works in an RTG environment. Using the OS-drawing routines
  44. just doesn't cut it in all cases. Once there is a good GimmeBitmap() function 
  45. it becomes worthwile to program layers around it. I don't like the idea of
  46. programming something that only runs under ECS/AGA.
  47.  
  48.  
  49. Paul
  50.  
  51.  
  52.